<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>表单设计器 - 清单</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
    <link rel="stylesheet" href="bootstrap/css/bootstrap.css">
    <!--[if lte IE 6]>
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-ie6.css">
    <![endif]-->
    <!--[if lte IE 7]>
    <link rel="stylesheet" type="text/css" href="bootstrap/css/ie.css">
    <![endif]-->
    <link rel="stylesheet" href="formDesign.css.css">
    <script type="text/javascript" src="../dialogs/internal.js"></script>
</head>
<body>

<div class="well" style="height: 160px">
    <br/>
    <p>
        <button type="button" onclick="formDesginDialog.exec('text');" class="btn btn-info btn-small">单行输入框</button>
        <button type="button" onclick="formDesginDialog.exec('textarea');" class="btn btn-info btn-small">多行输入框</button>
        <button type="button" onclick="formDesginDialog.exec('select');" class="btn btn-info btn-small">下拉菜单</button>
        <button type="button" onclick="formDesginDialog.exec('radios');" class="btn btn-info btn-small">单选框</button>
        <button type="button" onclick="formDesginDialog.exec('checkboxs');" class="btn btn-info btn-small">复选框</button>
    </p>
    <br/>
</div>
<script type="text/javascript">
    var formDesginDialog = {
        exec : function (method) {
            editor.execCommand(method);
            dialog.close(true);
        }
    };
</script>
</body>
</html>
